package bean;

import javax.json.bind.annotation.JsonbProperty;

public class DGUTUserJson {
    @JsonbProperty("username")
    String username;
    @JsonbProperty("name")
    String name;
    @JsonbProperty("group")
    String group;
    @JsonbProperty("openid")
    String openid;
    @JsonbProperty("wx_openid")
    String wx_openid;
    @JsonbProperty("error")
    int error;
    @JsonbProperty("message")
    String message;
    @JsonbProperty("faculty_title")
    String faculty_title;
    @JsonbProperty("faculty")
    String faculty;
    public DGUTUserJson(){}
    public DGUTUserJson(String username, String name, String group, String openid, String wx_openid, int error, String message, String faculty_title, String faculty)
    {
        this.username=username;
        this.name=name;
        this.group=group;
        this.openid=openid;
        this.wx_openid=wx_openid;
        this.error=error;
        this.message=message;
        this.faculty=faculty;
        this.faculty_title=faculty_title;
    }
    public void setUsername(String username) {
        this.username=username;
    }
    public String getUsername() {
        return username;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getName() {
        return name;
    }
    public void setGroup(String group) {
        this.group = group;
    }
    public String getGroup() {
        return group;
    }
    public void setOpenid(String openid) {
        this.openid = openid;
    }
    public String getOpenid() {
        return openid;
    }
    public void setWx_openid(String wx_openid) {
        this.wx_openid = wx_openid;
    }
    public String getWx_openid() { return wx_openid; }
    public void setFaculty(String faculty) {
        this.faculty = faculty;
    }
    public String getFaculty() {
        return faculty;
    }
    public void setFaculty_title(String faculty_title) {
        this.faculty_title = faculty_title;
    }
    public String getFaculty_title() {
        return faculty_title;
    }
}
